/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.platform.service;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;

import com.wealth.platform.entity.Account;

import iaas.service.IBaseService;
import iaas.utils.ResultObject;

/**
 * @author chan
 * @version 1.0
 * @since 1.0
 */
 
public interface IAccountService extends IBaseService<Account>{

	/** 导入Excel文件 */
	public boolean importFile(MultipartFile file,Long corpid) throws Exception;

	/** 导出Excel 文件  */
	public HSSFWorkbook  exportFile(Long corpId);
	
	/** 绑定银行账户 */
	public ResultObject bindBankcard(Long corpid,Long memberid,String bankcard,String identitycard,String telephone) throws Exception;
	
	
	/** 通过memberid corpid查询银行账户 */
	public Account getAccountByMemberIdAndCorpId(Long memberid,Long corpid) throws Exception;
	
}
